import { defHttp } from '/@/utils/http/axios';
import { ContentTypeEnum } from '/@/enums/httpEnum';
import setting from '/@/settings/projectSetting';
const Api = {
  giveLike: `${setting.interfacePrefix}/model/giveLike`, //点赞
  getLikeCount: `${setting.interfacePrefix}/model/getLikeCount`, //点赞
};

export const giveLike = (params?: any) => defHttp.post<any>({ url: Api.giveLike, params });

export const getLikeCount = (params?: any) => defHttp.post<any>({ url: Api.getLikeCount, params });
